home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 2
/
Amiga Tools 2.iso
/
tex
/
macros
/
source
/
contrib
/
custom-bib
/
readme
< prev
next >
Wrap
Text File
|
1995-03-09
|
6KB
|
122 lines
CUSTOM-BIB Package
(Now includes support for other languages.)
This is the custom-bib package for generating customized BibTeX bibliography
styles from a generic file by means of Frank Mittelbach's docstrip program.
The package contains the following files:
genbst.mbs -- A master BibTeX style file for producing customized
styles (numerical or author-year) with docstrip. It is
self-documenting: simply latex it to produce its
description (requires doc.sty).
This is version 1.6. Many new options have been added
at the suggestions of active users.
babel.mbs -- A variation of genbst.mbs for multilingual support. It
can produce .bst files for English, French, German,
Esperanto, and is extendable. Alternatively, one selects
the `language' babel, and the language-specific words are
replaced by commands that need to be defined in a separate
input file. This file is automatically read in by the .bbl
file.
This is version 2.4. It is otherwise equivalent to
genbst.mbs version 1.6.
xbtxbst.mbs -- The master bib style file used by Oren Patashnik (with
minor additions by others) for C Preprocessor (XBTXBST.DOC)
converted to the docstrip scheme here, with all original
comments put into LaTeX format. LaTeXing this file produces
the documentation of the original Patashnik text.
This is version 1.1.
makebst.dtx -- the documented source file; LaTeXing this file produces
the manual and optionally a documentation of the coding.
Requires ltxdoc class from the LaTeX2e distribution.
This is version 2.1; the documentation requires
LaTeX2e (1994/06/01). The program itself only requires TeX.
See the note on list of options at the end of this file for
the only new feature over version 2.0.
makebst.ins -- a docstrip batch job to extract from makebst.dtx the
program file makebst.tex.
Many authors are frustrated at the wide range of bibliographic styles demanded
by journals and publishers, and at the limited number available with standard
LaTeX and BibTeX. This is not the fault of the latter, but rather of the lack
of any bibliographic standards in the English language. Often the differences
are so trivial (comma or colon, date in brackets or parentheses). The normal
user does not want to tackle the task of making up his own .bst file (no
normal human would!)
For this reason, I set out to produce a generic .bst file that could have
features and options selected by means of Mittelbach's docstrip program.
I found over 50 different *.bst files and compared their outputs just for
article: they were all different. They served as part of my input as to what
features were needed. I knew of a few extra that were not covered by these 50.
I also discovered XBTXBST.DOC, a minor modification of Patashnik's BTXBST.DOC,
as well as a file PHYSICS.BST, all of which are meant to do precisely what I
had set up to accomplish. However, they make use of the C Preprocessor
language. It is really a simple matter to convert the preprocessor commands
into docstrip equivalents.
Nevertheless, none of these really met all of my needs, so I continued to
develop GENBST.mbs (GENeric-BibST.MasterBibSt). It soon became obvious that the
sheer number of options necessary made any kind of customizing a difficult
chore. Hence, the next step: the program MAKEBST takes menu information from
the selected .mbs file and presents the user with descriptive choices as
menus. From the answers, it writes a docstrip batch job (extension .dbj) which
when TeX'ed, creates the desired .bst file out of the .mbs one. The .dbj file
may even be hand edited if one wants to alter only one or two options.
To use the package: (I assume you have docstrip.tex and doc.sty; if you do not
have the former, then you cannot use the package anyway; they are now part
of the standard LaTeX distribution from 1994 June 1.)
1. run TeX (or LaTeX) on makebst.ins (--> makebst.tex)
2. (optional) LaTeX makebst.dtx to get the documentation;
3. run TeX (or LaTeX) on makebst.tex to start customizing
your own .bst file. You may select the master file as either genbst,
babel, or xbtxdoc.
For documentation on the master bib files, just LaTeX genbst.mbs, babel.mbs
or xbtxbst.mbs themselves. (Note, xbtxbst.mbs will also output the Patashnik
comments to the coding. I have not yet managed to do this for genbst.mbs)
NOTE ON AUTHOR-YEAR CITATIONS:-
Author-year style citations are not supported by standard LaTeX and BibTeX.
However, there exist a large number of bib styles for this, all of which need
some interface package to run properly. I have identified 5 different
interfaces, plus a 6th one that I use myself (see the NATBIB package in a
parallel directory). I have made up genbst.mbs to be able to produce .bst
files for all 6. If one selects author-year style, then one is asked which
interface package is to be used. (Incidentally my natbib.sty is capable of
interpreting all 6).
LIST OF ALL OPTIONS IN THE DBJ FILE (new to version 2.1 from 1994 Dec 29)
The makebst program writes to the .dbj file all the docstrip options
that were offered in the interactive session. This makes editing afterwards
much easier. Often one wants to experiment with some of these options, but
only wants to run the makebst program once.
This feature (requested by Frank Mittelbach) is available when the
makebst.tex file is extracted from makebst.dtx with the `optlist' option;
without it, only the selected options are listed in the .dbj file.
Edit the makebst.ins file accordingly; by default, this feature is included.
1995 Feb 2
Patrick W. Daly
Max-Planck-Institut f\"ur Aeronomie
D-37189 Katlenburg-Lindau, Germany
E-mail:
Internet-- daly@linax1.dnet.gwdg.de